/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Module;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.io.Serializable;


/**
 *
 * @author Vegard
 */
public class Project implements Serializable{

    private int id;
    private String name;
    private String desc;
    private String goals;
    private String projectLeader;

    public Project(){
        this(0,null,null,null,null);
    }
    public Project(int id,String name, String desc, String goals,String projectLeader){
        this.id = id;
        this.name = name;
        this.desc = desc;
        this.goals = goals;
        this.projectLeader = projectLeader;
    }

    public String getName()  {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getGoals() {
        return goals;
    }

    public void setGoals(String goals) {
        this.goals = goals;
    }

    public int getId(){
        return id;
    }

    public void setId(int id){
        this.id = id;
    }

    public String getProjectLeader() {
        return projectLeader;
    }

    public void setProjectLeader(String projectLeader) {
        this.projectLeader = projectLeader;
    }

    

    @Override
    public String toString() {
        return "Project{" + "id=" + id + "desc=" + desc + "goals=" + goals + '}';
    }



}

